home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.19990725-20000114
/
000181_news@columbia.edu _Sun Oct 10 23:55:09 1999.msg
< prev
next >
Wrap
Internet Message Format
|
2020-01-01
|
5KB
Return-Path: <news@columbia.edu>
Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30])
by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id XAA17698
for <kermit.misc@watsun.cc.columbia.edu>; Sun, 10 Oct 1999 23:55:09 -0400 (EDT)
Received: (from news@localhost)
by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id XAA11732
for kermit.misc@watsun.cc.columbia.edu; Sun, 10 Oct 1999 23:53:43 -0400 (EDT)
X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to <news> using -f
Message-ID: <3801600F.65ED7F54@mediaone.net>
From: Art Wildman <wildman@mediaone.net>
Subject: Re: set line: Sorry can't open connection
Date: Sun, 10 Oct 1999 23:57:03 -0400
To: kermit.misc@columbia.edu
Thanks for the quick response, I just found this group while looking for more
info on kermit & thought I'd ask.
Frank da Cruz wrote:
> What version of C-Kermit do you have?
Ver 6x comes with HPUX 10.20 I think, Not sure I'm doing this from memory...
> : C-Kermit> c
> : set line /dev/tty2a3
> : set speed 9600
> Those last two should be:
Right -again I'm doing this from memory
> set parity space
> set duplex half
>
> : Can send string from pc com1 to hp tty2a3 OK.
> : "The quick brown fox..."
> :
> How do you know it's OK? C-Kermit is in CONNECT mode and you see it on
> the HP's screen?
Yes
>
> How is the PC connected to the HP? A null modem cable?
Yes
> A *true* null modem cable, or the fakeout kind?
fakeout loopback on pc side rts-cts & dsr-dtr, but just using 3 wires to tty2a3
- 2, 3 & 7.
> Did you build it yourself? How do you know it's wired appropriately?
Yes, and I was able to test 2way comms by enabling device using HP's SAM, then
respawning getty on same port set to 9600 hard-wired in inittab, init q -now
able to hit rtn twice on pc procomm terminal and get login message. I was able
to login, verifying 2-way comms. I found a partial procedure to test a port
using kermit, and wanted to learn more about kermit.
> : am unable to send same string from hp tty2a3 to pc using
> : procomm-vt100-kermit and have it display in procomm terminal/chat window.
> :
> Obviously that's a question for the Procomm people.
Why? -No, its just a terminal (in emulation mode) and I think its set up
correctly or I wouldn't have been able to login using it. A laptop is easier to
carry around than a vt100 terminal.
Do I have to tell kermit to transmitt vs. receive? I should be able to open a
connection, and type/transmitt "The quick brown fox..." from hp to pc-terminal.
> : while playing around with port settings (duplex=full) I managed to lock up
> : kermit.
> What makes you conclude it is locked up? Are you saying it was in CONNECT
> mode, and then you could no longer escape back?
Yes it was in connect mode, I tried ctrl-\ c repeatedly, also ctrl-c and every
other key sequence I could think of... no response.
> Or that it was in command
> mode and would no longer respond to commands? Please be specific about what
> state it was in and what you tried to do and what the response was.
>
> killed processes, and abe to recover but now when I try to
> : set line /dev/tty2a3
> : error: Sorry can't open connection on /dev/tty2a3
> :
> : Is there a lock file or something somewhere keeping the port open and
> : unavailable?
> :
> If you have C-Kermit 6.0 or later, the problem would not be a lockfile.
> C-Kermit detects and handles stale lockfiles, and anyway it prints an
> informative message stating why the device could not be opened.
All I get when I run kermit and try establish a new connection on this port is
Sorry can't open connection on /dev/tty2a3
>
> C-Kermit 6.0, while in CONNECT mode, runs in two forks (processes). The
> most likely explanation is that you killed one but not the other.
I saw two processes liste when I did
ps -ef | grep kermit
it listed 2 PIDs
Killing the first one didn't seem to have any effect so I killed the other, that
exited kermit and restored my hpux prompt.
I'll look for other running processes, but I don't think any more exist owned by
kermit. Is there something else I could look for?
>
> C-Kermit 7.0: http://www.columbia.edu/kermit/ck70.html
> runs in only one fork at all times (at least on HP-UX and most other modern
> UNIX varieties), has better serial port handling, and better error messages.
Thanks, I'll get 7.0, sounds like I may need it.
>
> : How do I clear this? What do I need to do to get kermit to
> : transmit to pc properly?
> The first question is: why not simply set up a getty on the HP-UX port and
> then log in to it from the PC? That's the normal way of connecting a PC
> and a UNIX computer.
Tried that it worked, but this port will be used for data ingest using custom
software, and I beleive the kermit protocol. So, I will have to turn off getty
an want some way of sending data manually to the port & verifying comms 2-ways.
Thanks again for your help and patience.
> - Frank
--
Art Wildman - wildman@mediaone.net